package com.wangxiang.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wangxiang.common.utils.DataEntity;
import com.wangxiang.shop.product.entity.ShopTypeEntity;
import com.wangxiang.shop.product.entity.SpuEntity;

import java.util.HashMap;
import java.util.List;

/**
 * 
 *
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-07 21:18:21
 */
public interface ShopTypeService extends IService<ShopTypeEntity> {

    List<ShopTypeEntity> shopList();

    List<SpuEntity> spuByType(String type);

    List<ShopTypeEntity> twoType();

    List<ShopTypeEntity> threeType(int parentId);
    List<ShopTypeEntity> threebar();

    List<HashMap<String ,Object>> threeList();

    int updateTypeRange(String type,int range);
    List<DataEntity> shopTypeData();
    List<DataEntity> twoTypeData();
    List<DataEntity> treeTypeData();
    List<DataEntity> wareTotalData();
    List<DataEntity> shopThreeWare();

}

